x86/io: rename misleading dpci_ prefixed functions to g2m_
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 7 Apr 2017 10:02:22 +0000 (12:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Apr 2017 10:02:22 +0000 (12:02 +0200)
commitf47364e5007216f55c8df7403015a6ea2fec4c29
treea4cfc5426d99439bc39ad0452a42da53aadae1c1
parentc47d1d6873f0d8d89e96bd9e876dd4bb3565da8b
x86/io: rename misleading dpci_ prefixed functions to g2m_

The dpci_ prefix used on those IO handlers is misleading, there's nothing PCI
specific in them, they simply map a guest IO port into a machine (physical) IO
port. They don't specifically trap the PCI IO port range in any way
(0xcf8/0xcfc).

Rename them to use the g2m_ prefix in order to avoid this confusion.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/io.c
xen/include/asm-x86/hvm/io.h